package com.example.design.pattern.structure.bridge.impl;

import com.example.design.pattern.structure.bridge.DrawAPI;
import com.example.design.pattern.structure.bridge.Shape;

public class Rectangle extends Shape {

    public Rectangle(DrawAPI drawAPI) {
        super(drawAPI);
    }

    @Override
    public void draw() {
        System.out.println("Shape: Rectangle");
        drawAPI.draw(this);
    }

}
